home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / mail / pine3.96.tar.gz / pine3.96.tar / pine3.96 / imap / Makefile < prev    next >
Makefile  |  1996-05-29  |  4KB  |  113 lines

  1. # Program:    IMAP Makefile
  2. #
  3. # Author:    Mark Crispin
  4. #        Networks and Distributed Computing
  5. #        Computing & Communications
  6. #        University of Washington
  7. #        Administration Building, AG-44
  8. #        Seattle, WA  98195
  9. #        Internet: MRC@CAC.Washington.EDU
  10. #
  11. # Date:        7 December 1989
  12. # Last Edited:    29 May 1996
  13. #
  14. # Copyright 1996 by the University of Washington
  15. #
  16. #  Permission to use, copy, modify, and distribute this software and its
  17. # documentation for any purpose and without fee is hereby granted, provided
  18. # that the above copyright notice appears in all copies and that both the
  19. # above copyright notice and this permission notice appear in supporting
  20. # documentation, and that the name of the University of Washington not be
  21. # used in advertising or publicity pertaining to distribution of the software
  22. # without specific, written prior permission.  This software is made
  23. # available "as is", and
  24. # THE UNIVERSITY OF WASHINGTON DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
  25. # WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT LIMITATION ALL IMPLIED
  26. # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND IN
  27. # NO EVENT SHALL THE UNIVERSITY OF WASHINGTON BE LIABLE FOR ANY SPECIAL,
  28. # INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  29. # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, TORT
  30. # (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF OR IN CONNECTION
  31. # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  32.  
  33.  
  34. LN=ln -s
  35. MAKE=make
  36. RM=rm -rf
  37.  
  38.  
  39. # Make the IMAP server and client
  40.  
  41. all:    OSTYPE
  42.     $(MAKE) `cat OSTYPE`
  43.  
  44. OSTYPE:
  45.     @echo 'You must specify what type of system'
  46.     @false
  47.  
  48. # ANSI compiler ports.  Note for SCO you may have to set LN to "copy -rom"
  49.  
  50. a32 a41 aix bsi d-g drs lnx lyn mct mnt neb nxt osf sc5 sco sgi slx sos:
  51.     $(MAKE) build SYSTYPE=ANSI OS=$@
  52.  
  53. # Non-ANSI compiler ports.
  54. #
  55. # In spite of the claims of certain sorcerer's apprentices, it does absolutely
  56. # nothing (other than sooth bruised egos of those who can't stand the thought
  57. # of their computer being called non-ANSI) to move a port to the ANSI tree.
  58. # If you have trouble building Pine, the thing to change is in Pine, not here.
  59. # So keep paws off the ANSI/non-ANSI assignments here.
  60. #
  61. # There is a wide variety of reasons why a compiler may be listed here.  These
  62. # systems either do not have ANSI compilers, or some versions of these systems
  63. # do not have ANSI compilers.
  64. #
  65. # In a few cases, the port was mistakenly submitted as non-ANSI (e.g. ptx, sol)
  66. # or there is a compatibility reason why it is there (e.g. gso, gul, uw2).
  67. # These are fixed in imap-4.
  68. #
  69. # Yes, SV4 belongs in the non-ANSI tree.  There are some SVR4 systems which
  70. # do not have ANSI compilers.
  71.  
  72. aos art asv aux bsd cvx dpx dyn epx gas gso gsu gul hpp isc ptx pyr s40 sol ssn sun sv4 ult vul uw2:
  73.     $(MAKE) build SYSTYPE=non-ANSI OS=$@
  74.  
  75. # SVR2 doesn't have symbolic links, nor does it let you link directories.
  76.  
  77. sv2:
  78.     $(MAKE) build SYSTYPE=non-ANSI OS=$@ LN="#"
  79.  
  80. # Pine port names, not distinguished in c-client
  81.  
  82. bs2:
  83.     $(MAKE) build SYSTYPE=ANSI OS=bsi
  84.  
  85. pt1:
  86.     $(MAKE) build SYSTYPE=non-ANSI OS=ptx
  87.  
  88.  
  89. build:
  90.     echo $(OS) > OSTYPE
  91.     $(RM) systype
  92.     $(LN) $(SYSTYPE) systype
  93.     cd $(SYSTYPE)/c-client; $(MAKE) $(OS)
  94.     cd $(SYSTYPE)/ms;$(MAKE)
  95.     cd $(SYSTYPE)/ipopd;$(MAKE)
  96.     cd $(SYSTYPE)/imapd;$(MAKE)
  97.  
  98. clean:
  99.     $(RM) systype
  100.     cd ANSI/imapd;$(MAKE) clean
  101.     cd ANSI/ipopd;$(MAKE) clean
  102.     cd ANSI/ms;$(MAKE) clean
  103.     cd ANSI/c-client;$(MAKE) clean
  104.     cd non-ANSI/imapd;$(MAKE) clean
  105.     cd non-ANSI/ipopd;$(MAKE) clean
  106.     cd non-ANSI/ms;$(MAKE) clean
  107.     cd non-ANSI/c-client;$(MAKE) clean
  108.  
  109. # A monument to a hack of long ago and far away...
  110. love:
  111.     @echo 'not war?'
  112.  
  113.